#ifndef _MAIN_MENU_H
#define _MAIN_MENU_H

#ifdef _WIN32
#include <windows.h>
#endif

#include <boost/shared_ptr.hpp>

#include "Scene.h"

class Button;
class Background;
class AudioSource;
class FreeTypeFont;

class MainMenu : public Scene
{
public:
    MainMenu(MyWindow* window);
    ~MainMenu(void);

    bool init();
    void prepare(float dt);
    void render();
    void shutdown();

    void onResize(int width, int height);

private:
    boost::shared_ptr<FreeTypeFont> m_font;
    Background* m_background;
    AudioSource* m_bgm;

    Button* m_arcadeBtn;
    Button* m_survivalBtn;
    Button* m_optionsBtn;
    Button* m_exitBtn;

    bool createKingPig(void);
    bool createSmallPigs(void);

};

#endif
